file1 = open(r"C:\Users\liu'quan'lin\Desktop\file\world.txt", "a")
# content = file1.read()
# print(content)

# line1 = file1.readline()
# line2 = file1.readline()
# line3 = file1.readline()
# print(line1)
# print(line2)
# print(line3)

# for line in file1:
#     print(line)

# file1.write("hello world!\n")
# file1.write("你好世界！\n")
# file1.write("hello world!1\n")
# file1.write("你好世界！1\n")
file1.write("hello world!2\n")
file1.write("你好世界！2\n")

file1.close()
